package ace.module.account.core.impl.service;

import ace.cmp.core.model.R;
import ace.module.account.api.model.dto.IamAccountPasswordDto;
import java.util.List;

/**
 * @author caspar
 * @date 2023/3/18 16:16
 */
public interface IamAccountPasswordService {

  List<IamAccountPasswordDto> getByIamAppIdAndPassportAndPassportTypes(
      Long iamAppId, String passport, List<Integer> passportTypes);

  R<Void> modifyPassword(
      Long accountId, String oldPassword, String newPassword, String confirmPassword);
}
